package nc.ui.budget.tools.checkrelation.childcheck.module;

import java.util.HashMap;

import nc.vo.budget.myVO.CkInfoManage;
import nc.vo.budget.myVO.EnumCheck;
import nc.vo.budget.pub.CheckVO;

public class GetNeedCheck {
	private HashMap<Integer, CheckVO> map = null;

	private HashMap<EnumCheck, Integer> ei = null;

	CkInfoManage manage = null;

	public GetNeedCheck() {
		map = new HashMap<Integer, CheckVO>();
		manage = new CkInfoManage();
		map.put(1, manage.getNeedCheck1());
		map.put(2, manage.getNeedCheck2());
		map.put(3, manage.getNeedCheck3());
		map.put(4, manage.getNeedCheck4());
		map.put(5, manage.getNeedCheck5());
		map.put(6, manage.getNeedCheck6());
		map.put(7, manage.getNeedCheck7());
//		map.put(8, manage.getNeedCheck8());

		ei = new HashMap<EnumCheck, Integer>();
		ei.put(EnumCheck.fm_predict, 1);
		ei.put(EnumCheck.downsend, 2);
		ei.put(EnumCheck.fm_up1, 3);
		ei.put(EnumCheck.downsend1, 4);
		ei.put(EnumCheck.fm_up2, 5);
//		ei.put(EnumCheck.downsend2, 6);
		ei.put(EnumCheck.downsendadd, 6);
		ei.put(EnumCheck.fm_up_add, 7);
	}

	// 0 unknow
	// 1 fm_predict
	// 2 downsend
	// 3 fm_up1
	// 4 downsend1
	// 5 fm_up2
	// 6 downsend2
	// 7 downsendadd
	// 8 fm_up_add


	public HashMap<Integer, CheckVO> getMap() {
		return map;
	}

	public HashMap<EnumCheck, Integer> getEi() {
		return ei;
	}

}
